<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\api\controller\vue;

use think\Controller;

/**
 * @title 【基类】
 */
class Base extends Controller {

    protected function _initialize() {
        parent::_initialize();

        header("Access-Control-Allow-Origin: *");
        header('Access-Control-Allow-Headers:x-requested-with,content-type,tk-uid,tk-token');
    }

}
